﻿Imports System.Xml.Serialization

Public Class MatchPattern
    <XmlAttribute()> Public Type As MatchPatternType = MatchPatternType.WildCard
    <XmlText()> Public Pattern As String

    Public Sub New()
    End Sub
    Public Sub New(ByVal type As MatchPatternType, ByVal pattern As String)
        Me.Type = type : Me.Pattern = pattern
    End Sub
End Class

Public Enum MatchPatternType
    WildCard
    RegEx
End Enum
